from dataclasses import dataclass


@dataclass
class Student:
    name: str
    age: int = 16


s_1 = Student("jack")
s_2 = Student("jack", 20)

print(s_1)
print(s_2)

print(s_1 == s_2)
